using MediatR;

namespace SumerCoreDevOps.Application.GitTriggers.Commands;

/// <summary>
/// 更新 Git 触发规则命令
/// </summary>
public record UpdateGitTriggerRuleCommand(
    long Id,
    string Name,
    string TriggerType,
    string? BranchPattern,
    string? TagPattern,
    string? PathFilter,
    bool IsEnabled
) : IRequest<Unit>;
